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
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • eigen eigen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 699
    • Issues 699
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • 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
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #303
Closed
Open
Issue created Dec 04, 2019 by Eigen Bugzilla@eigenbzReporter

bigMat.block(...).array()*mat.array() is slower than mat.array()*mat.array()

Submitted by Philippe Marti

Assigned to Nobody

Link to original bugzilla bug (#303)
Version: 3.0
Operating system: Linux

Description

I was doing some simple timings and got suprising timings (at least to me).

with matrices bigMat 500x20, mat1 100x20, mat2 100x20, I compute:

sol = bigMat.block(0,0,100,20).array() * mat2.array();

But compared to:

sol = mat1.array() * mat2.array();

The first computation is ~30% slower on my machine. But:

sol = bigMat.block(0,0,100,20).transpose().array() * mat2.transpose().array()

Is about the same time. Is that really what should be expected ?

Thanks!

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