public static Mat22 Abs(Mat22 A) { Mat22 B = new Mat22(); B.Set(MathB2.Abs(A.Col1), MathB2.Abs(A.Col2)); return(B); }
public static Vec2 Abs(Vec2 a) { Vec2 b = new Vec2(); b.Set(MathB2.Abs(a.X), MathB2.Abs(a.Y)); return(b); }