PowerSeries

com.phasmidsoftware.number.core.numerical.PowerSeries
trait PowerSeries[X, Y] extends X => Series[Y]

A representation of a mathematical power series which is the sum of a finite or infinite sequence terms expressed as powers of a variable.

Attributes

Graph
Supertypes
trait X => Series[Y]
class Object
trait Matchable
class Any
Known subtypes
class FinitePowerSeries[X, Y]
class LazyPowerSeries[X, Y]
class TaylorSeries

Members list

Value members

Abstract methods

def apply(x: X): Series[Y]

Applies the given input x to the power series, resulting in a mathematical series of terms computed based on the input.

Applies the given input x to the power series, resulting in a mathematical series of terms computed based on the input.

Value parameters

x

the input value of type X used to compute the corresponding series

Attributes

Returns

a Series[Y] representing the resulting series after applying the input

Inherited methods

def andThen[A](g: Series[Y] => A): X => A

Composes two instances of Function1 in a new Function1, with this function applied first.

Composes two instances of Function1 in a new Function1, with this function applied first.

Type parameters

A

the result type of function g

Value parameters

g

a function R => A

Attributes

Returns

a new function f such that f(x) == g(apply(x))

Inherited from:
Function1
def compose[A](g: A => X): A => Series[Y]

Composes two instances of Function1 in a new Function1, with this function applied last.

Composes two instances of Function1 in a new Function1, with this function applied last.

Type parameters

A

the type to which function g can be applied

Value parameters

g

a function A => T1

Attributes

Returns

a new function f such that f(x) == apply(g(x))

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1