Skip to content

Member Functions #6

Open
Open
@coatless

Description

@coatless
  • Operators
    • Add note emphasizing this is Sugar expressions.
    • Mathematical (e.g. +, -, ...)
    • Logical (e.g. >, !=, ...)
  • Dimensional Information
    • 2D: (.nrow(), .rows()), (.ncol(), .cols())
    • 1D: (.size(), .length()) [note: .length() is mentioned in STL container]
    • Exception: the DataFrame shenanigans... e.g. only .nrows() and .length()/.size() give col info
  • Element Access
    • Position Access: elements by numerical id
    • Categorical Access: elements by name
    • Logical Access: boolean method retrieve values. (cannot move from an 5 by 1)
  • Subset Views
    • Range
    • Subset by Row/Col by using _ e.g. A(0, _ )
    • Column and Row reference classes
  • Iterators
    • iterator accessors .begin() and .end()
    • ::iterator
    • ::const_iterator
  • STL-style container functions
    • Methods that do not recreate the object
    • Methods that do recreate the object
  • Static Member Functions
    • ::create(X, Y, ...)
    • ::get_na()
    • ::is_na
    • ::import(InputIterator first, InputIterator last)
    • ::import_transform(InputIterator first, InputIterator last, F f)
    • Matrix specific:
      • ::diag(int size, const U &diag_value)
      • ::eye(int n)
      • ::ones(int n)
      • ::zeros(int n)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions