Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Member Functions #6

Open
18 of 34 tasks
coatless opened this issue Jan 16, 2017 · 0 comments
Open
18 of 34 tasks

Member Functions #6

coatless opened this issue Jan 16, 2017 · 0 comments

Comments

@coatless
Copy link
Collaborator

coatless commented Jan 16, 2017

  • 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant