Beispiel #1
0
 public int SilkInt()
 {
     return(Scalar.Abs(XInt));
 }
Beispiel #2
0
 [Fact] public void AbsComplex()
 => Assert.Equal(new Complex(5, 0), Scalar.Abs(new Complex(3, 4)));
Beispiel #3
0
 public float SilkFloat()
 {
     return(Scalar.Abs(X));
 }
Beispiel #4
0
        static Scalar Drop(Scalar t)
        {
            t = t.Abs();

            return(1 - t * t * t * (t * (t * 6 - 15) + 10));
        }