Questions tagged [simplification]

249 questions
0
votes
1 answer

Combine a set of boolean equations

I have a logic schematic and from the inputs to outputs there are many levels. I would like to find a simplified boolean equation for each output. To avoid mistakes and to make it efficient, I plan to break down the large schematic to one boolean…
CL254
  • 3
  • 1
0
votes
1 answer

Git log history simplification, elaborations example in git log's manual

All of you comfortable with example and elaborations in git log's help for history simplification? I encounter some burdens on understanding when using this help/manual and the named example. .-A---M---N---O---P---Q / / / / / / I …
user5494920
0
votes
1 answer

How to tell maple that derivative of zero is zero when substituting?

I'm trying to use subs in maple to replace derivatives in a longer formula with 0: subs(diff(u(r),r) = 0, formula); It seems that if formula only involves first derivatives of u(r) this works as I expect. For example, formula :=…
0
votes
1 answer

Mesh simplification library in C#

Similarly to this other question, I wonder which C# mesh-simplification libraries are available out there. My (I believe common) problem is to reduce the computational effort of rendering .stl meshes.
Nic
  • 1,262
  • 2
  • 22
  • 42
0
votes
2 answers

Some Boolean Algebra Simplication basic

I wanna ask some basic law of boolean algebra. What i learn is : 1. A+A'B=A+B 2. A+AB'=A+B' 3. A+AB=A 4. A+A'B'=A+B' but i meet some condition like : A'+AB so, what is the answer for A'+AB?
Hollow Looi
  • 57
  • 1
  • 7
0
votes
1 answer

Simplification of pseudocode

I am trying to re-write the following pseudocode as the simplest if-else, but am struggling to understand the logic fully. if (a <= b) then // Here, a <= b. if (y > b) then P // Here, (a <= b) & (y > b). else if (x < a) then P // Here, (a…
0
votes
1 answer

Reducing number of data entries in a list for chart visualisation

in my current project i have to visualize about 30.000 entries in a (telerik windows phone) chart control on mobile devices. Showing all of these entries slows down and blocks the UI for a few seconds. My datasource is a list of "DataObject", where…
user4657305
0
votes
1 answer

How to prevent MariaDB from simplfiying logical expressions

I'm having a very weird problem with MariaDB 10, it simplify automaticaly some logical expression !! here's an example CREATE VIEW test AS SELECT 1 FROM test_table WHERE NOT (1 < 2 OR 3 > 4); SHOW CREATE VIEW test; CREATE ALGORITHM =…
elarichi.y
  • 57
  • 8
0
votes
0 answers

CSS Every first specific tags simplifier

I would like to know if there is a simpler way to achieve what I need: For h2 ,p, ul, [and eventually more] .left > h2:first-child, .left > div:first-child > h2:first-child, .left > p:first-child, .left > div:first-child > p:first-child, .left >…
Vincent
  • 117
  • 8
0
votes
4 answers

AS3: How to simplify Action Script 3 Code?

Here's a example that I've to use when I want to create a button with mouse-over effect: this.buttonExample.buttonMode = true; this.buttonExample.useHandCursor = true; this.buttonExample.addEventListener(MouseEvent.CLICK,myaction); I'm…
0
votes
1 answer

Simplified iphone In-app store implementation for built-in product features

This question is for those familiar with implementing the iphone in-app store functionality. The app I'm building has only built-in features that are unlocked when features are purchased. Further, any modifications or additions to store items…
Joey
  • 7,537
  • 12
  • 52
  • 104
0
votes
1 answer

Mesh simplification algorithm implemented in javascript

I searched for some easily portable mesh simplification implementations to port them to javascript, e.g. to use them directly when importing a model. I found some possible…
Simon
  • 13,173
  • 14
  • 66
  • 90
0
votes
1 answer

Is there a way to simplify "if x == 1 and y == 2:"

Is there a way to simplify: if x == 1 and y == 2 and z == 3: if x == 1 and y == 1 and z == 1: if x == 1 or y == 2 or z == 3: if x == 1 or x == 2 is simplified as if x in [1, 2]:
user3573140
0
votes
1 answer

Several buttons with same action targeting different divs, compress

I have a site that will showcase some singers, I have set it up so that when you click on their portrait, a div slides over and starts playing a video. There are five artist with each its own video. So my question is this, I have several buttons,…
bjkam
  • 3
  • 1
  • 5
0
votes
4 answers

How to prevent maxima to rewrite the output of 2*sqrt(2) to 2^(3/2)?

Maxima input of 2*sqrt(2) by default returns the output 2^(3/2) How can I get Maxima to just return 2*sqrt(2) ? (I use this in the tex() function.)
mmzc
  • 602
  • 8
  • 19