Skip to content

Commit

Permalink
Update core docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
blueberry committed Sep 18, 2019
1 parent 11eeb14 commit 088b8d3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/clojure/uncomplicate/neanderthal/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@
Changes to the resulting object affect the source `x`, even the parts of data that might not
be accessible by `x`. Use with caution!
view always creates a new instance that reuses the master's data,
but releasing a view never releases the master data.
(view (buffer (vctr float-factory 1 2 3)))
"
([x]
Expand Down Expand Up @@ -195,6 +198,8 @@
Changes to the resulting object affect the source `x`, even the parts of data that might not
be accessible by `x`. Use with caution!
view-vctr might return the master object itself, or create a new instance that reuses the master's data.
(view-vctr (ge float-factory 2 3 (range 6)))
"
([a]
Expand Down Expand Up @@ -277,6 +282,8 @@
Changes to the resulting object affect the source `a`, even the parts of data that might not
be accessible by a. Use with caution!
view-ge might return the master object itself, or create a new instance that reuses the master's data.
(view-ge (tr float-factory 3 (range 6)))
"
([a]
Expand Down Expand Up @@ -335,6 +342,8 @@
Options: `:uplo` (`upper` or `:lower`), and `:diag` (`:unit` or `:non-unit`).
view-tr creates a new instance that reuses the master's data.
(view-tr (ge float-factory 3 2 (range 6)))
"
([a]
Expand Down Expand Up @@ -381,6 +390,8 @@
Options: `:uplo` (`upper` or `:lower`)..
view-sy creates a new instance that reuses the master's data.
(view-sy (tr float-factory 3 (range 6)))
"
([a]
Expand Down

0 comments on commit 088b8d3

Please sign in to comment.