Comments (5)
I believe this is stated further down on the page you link, https://mc-stan.org/docs/reference-manual/vector-matrix-array-expressions.html#no-empty-array-expressions
from docs.
Thanks for posting the issue, @spinkney. We should definitely fix this.
from docs.
Ah, very nice!
from docs.
Is there anything more you think we should be saying in that section?
from docs.
Is there anything more you think we should be saying in that section?
I think I would've noticed this better if it was in the part Rectangular array expressions only instead of it's own section. Though this could just be how I read sections, finding the relevant part and then switching back to what I'm doing, instead of reading through the docs carefully.
The only other thing to add is @nhuurre's suggestion that it is also possible to create empty array's on the fly as rep_array({1.0}, 0)
.
from docs.
Related Issues (20)
- user's guide regression chapter - change section title "Hierarchical Logistic Regression" to "Hierarchical Regression" HOT 1
- update issue templates HOT 2
- consistent naming of covariance/correlation matrices
- add Survival models chapter to Stan User's Guide TOC
- Stan User's Guide Efficiency Tuning Section - beta_binomial? HOT 1
- add links to pdfs from docs homepage and overview pages
- add dark mode for website
- Problem searching the functions reference HOT 3
- Incorrect equation for wiener pdf
- [User Guide] Stan Translation efforts HOT 3
- Add more in-depth description of Pathfinder to the reference-manual
- Functions Refernce: return type of `bernoulli_rng` - `R` or `ints`? HOT 1
- Functions Reference - Array reductions contain vector-only signatures HOT 2
- needs updating: Efficiency-tuning/standardizing-predictors-and-outputs HOT 6
- Update documentation for "Missing Data: Sliced missing" data to new array syntax HOT 1
- Incorrect equation in the truncated data section HOT 1
- replace "sampling statement" with "target augmentation statement" HOT 2
- document normal sufficient stats in User's Guide efficiency chapter HOT 1
- Document that non-data variables are not allowed in top level size declarations - consequences for `generated quantities` block HOT 6
- Document new overloads of `wiener_lpdf`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.