Singular Manual: ncrepEvaluateAt

| #### 7.7.6.24 ncrepEvaluateAt Procedure from library `ncrat.lib` (see ncrat_lib). Usage: matrix M = ncrepEvaluateAt(q, vars, point); Return: For q=(u, Q, v) calculate -u*Q(point)^(-1)*v, that is to say, evaluate the ncrat represented by q at point (scalar or matrix point). Example:
    LIB "ncrat.lib";
    ncInit(list("x", "y"));
    ncrat f = ncratFromString("x+y");
    ncrep q = ncrepGet(f);
    matrix A[2][2] = 1, 2, 3, 4;
    matrix B[2][2] = 5, 6, 7, 8;
    matrix M = ncrepEvaluateAt(q, list(x, y), list(A, B));
    print(M);
    ==> 6, 8,
    ==> 10,12

User manual for Singular version 4-1-1p4, 2018, generated by texi2html.