Skip to content

.unaryExpr function #9

@kukosek

Description

@kukosek

I need to apply a function to the whole matrix/vector, e.g. to all the coefficients of the matrix/vector. In eigen there is a unaryExpr function, you pass a reference to your function you want to apply. See example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions