*,LinearVariableCollection,numeric-method {ompr}R Documentation

Multiply

Description

Multiplies the coefficients rowwise with a given numeric vector. If the numeric vector is a 'linear_transposed_vector', it will multiply the vector with each variable per row.

Usage

## S4 method for signature 'LinearVariableCollection,numeric'
e1 * e2

Arguments

e1

an object of type 'LinearVariableCollection'

e2

a numeric vector


[Package ompr version 0.8.1 Index]