NormOrder

it.grypho.scala.leonardo.matrix.NormOrder
enum NormOrder

Which norm norm takes (F_0039 Decision B): the written order, kept so a saved session re-parses to the call it was typed as.

Attributes

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

Members list

Type members

Enum entries

case Default extends NormOrder

norm(x): the 2-norm, which for a matrix is the spectral norm.

norm(x): the 2-norm, which for a matrix is the spectral norm.

Attributes

case Frobenius extends NormOrder

norm(x, fro): the Frobenius norm, the 2-norm of every cell taken together.

norm(x, fro): the Frobenius norm, the 2-norm of every cell taken together.

Attributes

final case class Of(p: _Expression)

norm(x, p): 1, 2, inf, or for a vector any real p ≥ 1; an expression, so a bound name may supply it.

norm(x, p): 1, 2, inf, or for a vector any real p ≥ 1; an expression, so a bound name may supply it.

Value parameters

p

the order

Attributes