struct

CP::Mat2x2

Inherits Struct < Value < Object

2x2 matrix type used for tensors and such.

(row major: [[a b][c d]])

Constructors

new(a : Number, b : Number, c : Number, d : Number)
Source

Instance methods

transform(v : Vect) : Vect
Source