Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/torch7.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoratkayu <yuekaiyu0307@gmail.com>2016-12-28 11:43:03 +0300
committeratkayu <yuekaiyu0307@gmail.com>2016-12-28 11:43:03 +0300
commit80c598a2f8deb31a823040bb201748e5be6d8320 (patch)
tree7bd0788bffae49b4c28af4a0d0fa8d4527a985b1 /doc
parent6f0cde0f5fd8f3fbff3647012c9f80fc9a6558dc (diff)
fixed the writing error in math doc
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/maths.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/maths.md b/doc/maths.md
index b5b1395..94906e9 100755
--- a/doc/maths.md
+++ b/doc/maths.md
@@ -157,9 +157,9 @@ By default the elements are sorted into 100 equally spaced bins between the mini
`y = torch.bhistc(x)` returns the histogram of the elements in 2d tensor `x` along the last dimension.
By default the elements are sorted into 100 equally spaced bins between the minimum and maximum values of `x`.
-`y = torch.histc(x, n)` same as above with `n` bins.
+`y = torch.bhistc(x, n)` same as above with `n` bins.
-`y = torch.histc(x, n, min, max)` same as above with `n` bins and `[min, max]` as elements range.
+`y = torch.bhistc(x, n, min, max)` same as above with `n` bins and `[min, max]` as elements range.
```lua
x =torch.Tensor(3, 6)