Skip to content

GitLab

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Get a free trial
  • Sign up
  • Login
  • Sign in / Register
  • eigen eigen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 650
    • Issues 650
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 has launched! Please visit Breaking changes in 15.0 and 15.0 Removals to see which breaking changes may impact your workflow.

  • libeigen
  • eigeneigen
  • Issues
  • #615
Closed
Open
Created Dec 04, 2019 by Eigen Bugzilla@eigenbzReporter

"static" / local storage on stack

Submitted by Enrico

Assigned to Nobody

Link to original bugzilla bug (#615)
Version: 3.0

Description

the static keyword appears several times in the tutorial
for example,

http://eigen.tuxfamily.org/dox/TutorialMatrixClass.html
with a static float[9]
Internally, a fixed-size Eigen matrix is just a plain static array
since Eigen will try to allocate the array as a static array

the author may want to express if a variable is defined in the scope of function, the allocation / deallocation on the stack will cost almost nothing.
However, it may lead to confusion since static has its special meaning in C/C++ language.

Edited Dec 05, 2019 by Eigen Bugzilla
Assignee
Assign to
Time tracking