asc-community / GenericTensor

The only library allowing to create Tensors (matrices extension) with custom types
https://angouri.org/#generictensor
MIT License
50 stars 5 forks source link

Error for single-element matrix inverse #25

Closed WhiteBlackGoose closed 3 years ago

WhiteBlackGoose commented 3 years ago
var sdfoks = GenTensor<double, DoubleWrapper>.CreateMatrix(new double[,]
    {
        { 3 }
    }
);

sdfoks.InvertMatrix();
Console.WriteLine(sdfoks);