struct

Number

Inherits Steppable / Comparable / Value / Object

The top-level number type.

Instance methods

*(m : LA::Matrix)

Multiply scalar to matrix

Source
+(m : LA::Matrix)

Adds scalar to matrix

Source
-(m : LA::Matrix)

Substract matrix from scalar

Source
conj

Returns self

Because complex conjurgate for real numbers is number itself. This method is useful to streamline work with complex and real numbers

Source