Ejemplo n.º 1
0
inline void
Forsythe( DistMatrix<T,U,V>& J, Int n, T alpha, T lambda )
{
    DEBUG_ONLY(CallStackEntry cse("Forsythe"))
    J.Resize( n, n );
    MakeForsythe( J, alpha, lambda );
}
Ejemplo n.º 2
0
inline DistMatrix<T,U,V>
Forsythe( const Grid& g, Int n, T alpha, T lambda )
{
    DistMatrix<T,U,V> J( n, n, g );
    MakeForsythe( J, alpha, lambda );
    return J;
}
Ejemplo n.º 3
0
inline Matrix<T>
Forsythe( Int n, T alpha, T lambda )
{
    Matrix<T> J( n, n );
    MakeForsythe( J, alpha, lambda );
    return J;
}
Ejemplo n.º 4
0
inline void
Forsythe( DistMatrix<T,U,V>& J, Int n, T alpha, T lambda )
{
#ifndef RELEASE
    CallStackEntry entry("Forsythe");
#endif
    J.ResizeTo( n, n );
    MakeForsythe( J, alpha, lambda );
}