Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Algorithms
  4. Find cartesians for matrix elements

Find cartesians for matrix elements

Scheduled Pinned Locked Moved Algorithms
questionalgorithmshelptutorial
1 Posts 1 Posters 19 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member_15288586
    wrote on last edited by
    #1

    Hi All! I am new here. I am wondering what is the name for the following algorithm I need to code. If I know the name I could find the algorithm. 1st example Suppose I have a matrix

    123
    Aoo
    Boo
    C oo
    D o
    E oo

    Having it as an input I need to create an output like this: ABx12, CEx23, Dx3 (x means cartesian product) 2nd example

    12345
    A oo o
    B o o
    Coo
    Doo oo
    Eo oo
    F ooo

    should give me an output like ABx25, CDx12, DEFx45, AFx3, Ex1 May you help me, please? Thanks in advance, Jacek

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups