vec2matrix: Vector to Matrix Conversion

Description Usage Arguments Details Value Author(s)

Description

This function converts a vector into a row matrix.

Usage

1
  vec2matrix(object = NULL)

Arguments

object

A vector or a matrix.

Details

If object is already a matrix, object is not modified. If object is not a matrix or a vector, the algorithm is stopped.

Value

Return a row matrix.

Author(s)

Sebastien Bihorel (sb.pmlab@gmail.com)


sbihorel/optimbase documentation built on May 14, 2019, 3:01 p.m.