Hilbert

scalation.calculus.Hilbert
case class Hilbert(f: FunctionS2S)

The Hilbert class provides operators to add, subtract, mutiply, divide and raise functions. Given two functions, 'f' and 'g', a new function is created. It also provides methods for computing dot/inner products, norms and distances for functions defined in Hilbert Space. On interval [a, b] Lp-norm (f) = [ ∫f(t)^p dt ]^1/p

Value parameters

f

the function to convert into a Hilbert function

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def *(g: FunctionS2S): Double => Double

Multiply function 'f' by function 'g', returning a new function.

Multiply function 'f' by function 'g', returning a new function.

Value parameters

g

the other function

Attributes

def *(g: Double): Double => Double
def +(g: FunctionS2S): Double => Double

Add function 'f' and function 'g', returning a new function.

Add function 'f' and function 'g', returning a new function.

Value parameters

g

the other function

Attributes

def +(g: Double): Double => Double
def -(g: FunctionS2S): Double => Double

From function 'f' subtract function 'g', returning a new function.

From function 'f' subtract function 'g', returning a new function.

Value parameters

g

the other function

Attributes

def -(g: Double): Double => Double
def /(g: FunctionS2S): Double => Double

Divide function 'f' by function 'g', returning a new function.

Divide function 'f' by function 'g', returning a new function.

Value parameters

g

the other function

Attributes

def /(g: Double): Double => Double
def dist(g: FunctionS2S, a: Double, b: Double): Double

Compute the distance in L2 space between function 'f' and function 'g'.

Compute the distance in L2 space between function 'f' and function 'g'.

Value parameters

a

the start of the interval

b

the end of the interval

g

the other function

Attributes

def dist_p(g: FunctionS2S, p: Int, a: Double, b: Double): Double

Compute the distance in Lp space between function 'f' and function 'g'.

Compute the distance in Lp space between function 'f' and function 'g'.

Value parameters

a

the start of the interval

b

the end of the interval

g

the other function

p

the level, e.g., 1, 2, ...

Attributes

infix def dot(g: FunctionS2S, a: Double, b: Double): Double

Compute the dot/inner product of functions 'f' and 'g'.

Compute the dot/inner product of functions 'f' and 'g'.

Value parameters

a

the start of the interval

b

the end of the interval

g

the other function

Attributes

def norm(a: Double, b: Double): Double

Compute the L2 norm of function 'f'.

Compute the L2 norm of function 'f'.

Value parameters

a

the start of the interval

b

the end of the interval

Attributes

def normSq(a: Double, b: Double): Double

Compute the L2 norm squared of function 'f', returning a new function.

Compute the L2 norm squared of function 'f', returning a new function.

Value parameters

a

the start of the interval

b

the end of the interval

Attributes

def normSq_p(p: Int, a: Double, b: Double): Double

Compute the Lp norm squared of function 'f'.

Compute the Lp norm squared of function 'f'.

Value parameters

a

the start of the interval

b

the end of the interval

p

the level, e.g., 1, 2, ...

Attributes

def norm_p(p: Int, a: Double, b: Double): Double

Compute the Lp norm of function 'f'.

Compute the Lp norm of function 'f'.

Value parameters

a

the start of the interval

b

the end of the interval

p

the level, e.g., 1, 2, ...

Attributes

def unary_-: Double => Double

Negate the function 'f' (unary minus), returning a new function.

Negate the function 'f' (unary minus), returning a new function.

Attributes

def ~^(p: Int): Double => Double

Raise function 'f' to the 'p'th power, returning a new function.

Raise function 'f' to the 'p'th power, returning a new function.

Value parameters

p

the integer-valued power/exponent

Attributes

def ~^(p: Double): Double => Double

Raise function 'f' to the 'p'th power, returning a new function.

Raise function 'f' to the 'p'th power, returning a new function.

Value parameters

p

the power/exponent

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val f_: Hilbert